<template>
	<view class="search" @click="goToSerach"> 
		<van-search shape="round" background="#d81e06" placeholder="请输入搜索关键词" disabled  />
	</view>
</template>

<script>
	export default {
		name: "Search",
		data() {
			return {

			};
		},
		methods:{
			// 跳转到搜索页面
			goToSerach(){
				uni.navigateTo({
					url:'/page_index/Search'
				})
			}
		}
	}
</script>

<style lang="scss">
	.search {
		position: fixed;
		right: 0;
		left: 0;
		overflow: hidden;
	}
</style>
